//: C08:EnumHack.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
#include <iostream>
using namespace std;

class Bunch
{
    enum { size = 1000 };
    int i[size];
};

int main()
{
    cout << "sizeof(Bunch) = " << sizeof(Bunch) <<
         ", sizeof(i[1000]) = " << sizeof(int[1000])
         << endl;
} ///:~
